package com.jeesite.modules.digitalize.entity.dto.componentMessage;

import com.jeesite.modules.digitalize.entity.dto.BasePageQueryDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhaoshuaixiang
 * @date 2023/11/5 16:07
 */
@Data
public class MessageQuery extends BasePageQueryDto {

    @ApiModelProperty("消息状态0未读 1已读")
    @NotNull(message = "消息状态不能为空")
    Integer messageStatus;

    @ApiModelProperty(value = "项目id", required = true)
    @NotNull
    private String projectId;
}
